<?php
namespace SwoStar\Foundation\Bootstrap;

use SwoStar\Config\Config;
use SwoStar\Foundation\Application;


class LoadConfiguration
{
    /**
     * 绑定容器为config，用于加载config配置文件中定义的配置信息
     * @param Application $app
     */
    public function bootstrap(Application $app)
    {
        $app->bind('config', new Config($app->getConfigPath()));
    }
}
